package com.lj.mcore.service;

import com.lj.mcore.entity.GoodsClass;
import com.lj.mcore.utils.PageBean;

import java.util.List;
import java.util.Map;

public interface IGoodsClassService {
    public static final String HQL_LIST = "from GoodsClass obj where obj.deleteStatus = false and obj.parent.id is null order by obj.sequence asc";

    public abstract boolean save(GoodsClass paramUser);

    public abstract boolean delete(Long paramLong);

    public abstract boolean update(GoodsClass paramUser);

    public abstract GoodsClass getObjById(Long paramLong);

    public abstract GoodsClass getSingleResult(Map<String,Object> map);

    public abstract List<GoodsClass> query(String paramString, Map paramMap, int paramInt1, int paramInt2);

    public PageBean getList(int pageSize, int page, Map<String, String> query);

}
